﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using MongoDB.Bson.Serialization.Attributes;

namespace BlueLotus7.SSQAnalysisCore
{
    public class SSQMartixItem : SSQLotteryData
    {
        public string LotteryIdentity
        {
            get;
            set;
        }

        public SSQMartixItem(string lotteryIdentity)
            : base()
        {
            this.LotteryIdentity = lotteryIdentity;
        }

        public SSQMartixItem()
            : this(null)
        {
        }

        #region Methods

        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns> A new object that is a copy of this instance.</returns>
        public override object Clone()
        {
            SSQMartixItem data = new SSQMartixItem(this.LotteryIdentity);

            data.RedBalls = this.RedBalls.Clone() as BallCollection;
            data.BlueBalls = this.BlueBalls.Clone() as BallCollection;
            data.Key = this.Key;

            return data;
        }

        #endregion

    }
}
